package com.jpx.jxcbiz.service.impl;

import com.jpx.jxcbiz.entity.TCustomer;
import com.jpx.jxcbiz.mapper.TCustomerMapper;
import com.jpx.jxcbiz.service.ITCustomerService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-24
 */
@Service
public class TCustomerServiceImpl extends ServiceImpl<TCustomerMapper, TCustomer> implements ITCustomerService {

    @Resource
    TCustomerMapper customerMapper;

    @Override
    public int deleteByIds(String ids) {
        return customerMapper.deleteByIds(ids);
    }

    @Override
    public List<TCustomer> getCustomer() {
        return customerMapper.getCustomer();
    }
}
